package com.umpay.dto.merAccess.req.consume;

import com.umpay.annotation.Pattern;
import com.umpay.dto.merAccess.req.CommonReq;
import org.hibernate.validator.constraints.NotEmpty;

/**
 *  
 * @ClassName: ConsumeFinishOrderReq  
 * @Description: 消费完成订单 
 * @author zhangtao  
 * @date Jun 7, 2018
 */
public class ConsumeFinishOrderReq extends CommonReq {
	/**
	 * 联动订单号
	 */
	@NotEmpty(message = "联动订单号不能为空")
	@Pattern(message = "联动订单号格式不正确")
	private String trade_no;
	
	/**
	 * 原分账明细订单号
	 */
	@Pattern(message = "原分账明细订单号格式不正确")
	private String split_order_id;
	
	/**
	 * 原分账明细订单日期
	 */
	@Pattern(message = "商户订单日期格式不正确")
	private String split_mer_date;

	public String getTrade_no() {
		return trade_no;
	}

	public void setTrade_no(String trade_no) {
		this.trade_no = trade_no;
	}

	public String getSplit_order_id() {
		return split_order_id;
	}

	public void setSplit_order_id(String split_order_id) {
		this.split_order_id = split_order_id;
	}

	public String getSplit_mer_date() {
		return split_mer_date;
	}

	public void setSplit_mer_date(String split_mer_date) {
		this.split_mer_date = split_mer_date;
	}

	@Override
	public String toString() {
		return "ConsumeFinishOrderReq [trade_no=" + trade_no + ", split_order_id=" + split_order_id
				+ ", split_mer_date=" + split_mer_date + ", mer_id=" + mer_id + ", version=" + version + "]";
	}
}
